import { createSSRApp } from 'vue'
import * as Pinia from 'pinia'
// @ts-ignore
import uView from 'vk-uview-ui'
import App from './App.vue'
// unocss
import 'uno.css'
import './uni.scss'
export function createApp() {
  const app = createSSRApp(App)
  app.use(Pinia.createPinia())
  app.use(uView)
  console.log(app)
  // main.js

  return {
    app,
    Pinia // 此处必须将 Pinia 返回
  }
}
